echo make the bplib
make -C bplib
echo copy it in this directory for linking
copy bplib\*.cmxa .
copy bplib\*.a .
copy bplib\*.cmi .
echo make the beboplib
ocamlyacc parserNet.mly
ocamlyacc parserBPI.mly
ocamlyacc parserBPO.mly
ocamllex lexerNet.mll
ocamllex lexerBPI.mll
ocamllex lexerBPO.mll
ocamlopt -c listMap.ml
ocamlopt -c message.ml
ocamlopt -c inputtools.ml 
ocamlc -c parserNet.mli
ocamlc -c parserBPI.mli
ocamlc -c parserBPO.mli
ocamlopt -c parserNet.ml
ocamlopt -c parserBPI.ml
ocamlopt -c parserBPO.ml
ocamlopt -c lexerNet.ml
ocamlopt -c lexerBPI.ml
ocamlopt -c lexerBPO.ml
ocamlopt -c circuit.ml
ocamlopt -c metatools.ml
ocamlopt -c traitement.ml
ocamlopt -c simulation.ml
ocamlopt -c cdsmaker.ml
ocamlopt -c inputmaker.ml
ocamlopt -c bop2tools.ml
ocamlopt -a -o bebop.cmxa listMap.cmx message.cmx inputtools.cmx parserNet.cmx parserBPI.cmx parserBPO.cmx lexerNet.cmx lexerBPI.cmx lexerBPO.cmx circuit.cmx metatools.cmx traitement.cmx simulation.cmx cdsmaker.cmx inputmaker.cmx bop2tools.cmx
echo make the executables
make Wexe
echo copy the executables into ..\winexe
mkdir ..\winexe
mkdir ..\winexe\bin
mkdir ..\winexe\boplibs
move *.exe ..\winexe\bin\.
copy bopbuild.bat ..\winexe\bin\.
echo get the BEBOPWinMakefile
copy ..\web\BEBOPWinMakefile ..\winexe\.
echo and get the bplib
copy bplib\*.cmxa ..\winexe\boplibs\. 
copy bplib\*.cmi ..\winexe\boplibs\.
copy bplib\*.a ..\winexe\boplibs\.
copy bplib\MakefileBplib ..\winexe\boplibs\.
copy bplib\bplib.ml ..\winexe\boplibs\.
copy bplib\bitreader.ml ..\winexe\boplibs\.
echo bebop win build success !
echo copy ..\winexe where you want
echo set a variable environnement BEBOPDIR pointing to the directory
echo add BEBOPDIR\bin to your PATH
pause 